package Heap;

import java.util.PriorityQueue;

public class Test {
    public static void main(String[] args) {
        PriorityQueue<Integer> priorityQueue = new PriorityQueue<>();
        priorityQueue.offer(12);
        priorityQueue.offer(3);
        priorityQueue.offer(14);
        
    }

    public static void main1(String[] args) {
        TestHeap heap = new TestHeap();
        int[] array = {49,25,18,15,28,37,60};
        heap.createHeap(array);
        heap.push(40);
        heap.poll();
        for(int e:heap.elem){
            System.out.print(e+" ");
        }
    }
}
